package io.renren.demo.service;

import io.renren.commons.mybatis.service.CrudService;
import io.renren.demo.entity.ProdDetailEntity;
import io.renren.dto.ProdDetailDTO;

import java.util.List;

/**
 * 错发/少发明细表
 *
 * @author jiaohj 15110414840@139.com
 * @since 3.0 2022-08-25
 */
public interface ProdDetailService extends CrudService<ProdDetailEntity, ProdDetailDTO> {
    List<ProdDetailDTO> getByWorkOrderId(Long workOrderId);
    void deleteByWorkOrderId(Long workOrderId);
    void addProdDetails(List<ProdDetailDTO> prodDetails);
}